package com.lingxu.base.system.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lingxu.base.common.api.vo.Result;
import com.lingxu.base.system.common.entity.SysLog;
import com.lingxu.base.system.common.entity.SysLogOption;
import com.lingxu.base.system.common.entity.SysLogSearchVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * <p>
 * 系统日志表 服务类
 * </p>
 *
 * @Author zhangweijian
 * @since 2018-12-26
 */
public interface ISysLogService extends IService<SysLog> {



	IPage<SysLog> getPageList(Page<SysLog> page, SysLogOption sysLog);

    void downLogFilePDF(String dept,String startTime, String endTime, HttpServletRequest request, HttpServletResponse response);

    Result findBackUpLogs(Integer limit,Integer page,String dateTime);
    IPage<SysLog> getPTLogPageList(Page<SysLog> page, SysLogSearchVO vo);

    Result createBackUpFile();
}
